home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3404 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: due.unit.no!usenet
  2. From: Per Ivar Helgesen <ph@iok.unit.no>
  3. Newsgroups: comp.lang.c
  4. Subject: Error linking DLL
  5. Date: Sun, 28 Jan 1996 20:00:31 +0000
  6. Organization: SINTEF Applied Economics
  7. Message-ID: <310BD5DF.6347@iok.unit.no>
  8. NNTP-Posting-Host: markus.iok.unit.no
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b5 (Win95; I)
  13.  
  14. I have troubles linking DLL's using Borland 4.0.
  15. I try to make a dynamic library,
  16. Platform: Windows 3.x (16-bit)
  17. Target model: Large
  18.  
  19. I am able to send arrays and strings (from Visual Basic),
  20. I can do simple calculations or changes, and return results.
  21. But if I try to use functions from function-libraries
  22. I cannot link my DLL.
  23.  
  24. I get linker errors if I try to use mathematical
  25. functions (defined by math.h), string-funcions
  26. (from string.h) or if I use i/o-functions
  27. (stdio.h). I even get errors if I just try to assign
  28. a value to a double variable.
  29.  
  30. What is wrong (is it just me)?  :-( 
  31. Do I need to link some (static/ run-time)
  32. libraries with my DLL?
  33.  
  34. ___  ////  _________________________________________________   
  35.     |--00    Per Ivar Helgesen, SINTEF Applied Economics
  36.     C   ^    ph@iok.unit.no   , tlf +47 7359 0806
  37. ___  \ ~/  _________________________________________________
  38.